﻿namespace Agile.Infra.WeiXin.Models
{
    public class GetOpenIDResponse
    {
        /// <summary> 用户唯一标识 </summary>
        public string openid { get; set; }
        /// <summary> 会话密钥 </summary>
        public string session_key { get; set; }
        /// <summary>  </summary>
        public string uin { get; set; }
        /// <summary> 用户在开放平台的唯一标识符，若当前小程序已绑定到微信开放平台帐号下会返回 </summary>
        public string unionid { get; set; }
        /// <summary> 错误码 </summary>
        public int errcode { get; set; }
        /// <summary> 错误信息 </summary>
        public string errmsg { get; set; }
        //Object : "{"errcode":-2100,"errmsg":"参数错误(appid/js_code)","openid":"","session_key":"","uin":"","unionid":""}
    }
}
